module.exports = {
  publicPath:'./',
	productionSourceMap:false,
  configureWebpack: config => {
    config
  },
  devServer: {
    proxy: {
      '/api': {
        target: 'http://10.102.52.47:7001',
        ws: true,
        changeOrigin: true,
        pathRewrite: {'^/api': ''},
        // router: {
        //   // when request.headers.host == 'dev.localhost:3000',
        //   // override target 'http://www.example.org' to 'http://localhost:8000'
        //   '10.102.52.47:8081': 'http://10.102.52.47:7001',
        // },
      }
    }
  }
}